/**
  ************************************* Copyright ******************************
  * FileName   : ble.h
  * Version    : v1.0
  * Author     : yychao
  * Date       : 2023-06-15
  * Description:
  * Function List:
  	1. ....
  	   <version>:
  <modify staff>:
  		  <data>:
   <description>:
  	2. ...
  ******************************************************************************
 */

#ifndef __BLE_H_
#define __BLE_H_

#include "usart.h"

typedef enum {
    OFF = 0,
    ON = 1,
} sw_state;


#define CHAR_NUM 3
#define CHAR_LEN 24
struct cmd_para {
    uint8_t arg_num;
    char key_char[CHAR_NUM][CHAR_LEN];
};
extern struct cmd_para cmd_para_ble;


void ble_deal(usart_cache* recv);
uint8_t ble_module_initial(void);









#endif


